$OpenBSD: patch-config_php_default,v 1.8 2017/05/30 21:05:44 sthen Exp $

Index: config.php.default
--- config.php.default.orig
+++ config.php.default
@@ -10,15 +10,16 @@ $config['db_name'] = 'librenms';
 
 // This is the user LibreNMS will run as
 //Please ensure this user is created and has the correct permissions to your install
-$config['user'] = 'librenms';
+$config['user'] = '_librenms';
 
 ### This should *only* be set if you want to *force* a particular hostname/port
 ### It will prevent the web interface being usable form any other hostname
 $config['base_url']        = "/";
 
 ### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
-### and that your web server has permission to talk to rrdcached.
-#$config['rrdcached']    = "unix:/var/run/rrdcached.sock";
+### (if using -b in rrdcached_flags, use "-b /var/www/librenms/rrd"), and that
+### socket permissions allow access to your web server uid/gid.
+#$config['rrdcached']    = "unix:/var/run/rrd/rrdcached.sock";
 
 ### Default community
 $config['snmp']['community'] = array("public");
@@ -32,8 +33,8 @@ $config['auth_mechanism'] = "mysql"; # default, other 
 #$config['nets'][] = "172.16.0.0/12";
 #$config['nets'][] = "192.168.0.0/16";
 
-# Uncomment the next line to disable daily updates
-#$config['update'] = 0;
+# Adjust the next line to enable daily updates (interferes with package management)
+$config['update'] = 0;
 
 # Number in days of how long to keep old rrd files. 0 disables this feature
 $config['rrd_purge'] = 0;
